package com.x.crm.model;


import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@MappingTable(tableName = "CRM_FOLLOW_APPOINTMENT")

public class FollowAppoint extends BaseObject {

	@MappingColumn(columnName = "FOLLOW_APPOINT_ID", columnPk = true, columnLength = 32)
	private String followAppointId;

	@MappingColumn(columnName = "APPOINT_CUSTOMER_NAME")
	private String appointCustomerName;

	@MappingColumn(columnName = "APPOINT_FOLLOWER_ID")
	private String appointFollowerId;

	@MappingColumn(columnName = "APPOINT_FOLLOWER_NAME")
	private String appointFollowerName;

	@MappingColumn(columnName = "APPOINT_LEVEL_ID")
	private String appointLevelId;

	@MappingColumn(columnName = "APPOINT_LEVEL_TXT")
	private String appointLevelTxt;

	@MappingColumn(columnName = "APPOINTMENT_TIME")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date appointmentTime;

	@MappingColumn(columnName = "APPOINT_RECEIVER_ID")
	private String  appointReceiverId;

	@MappingColumn(columnName = "APPOINT_RECEIVER_NAME")
	private String appointReceiverName;

	@MappingColumn(columnName = "APPOINT_FOLLOW_REMARK")
	private String appointFollowRemark;

	@MappingColumn(columnName = "INTENTION_ID")
	private String intentionId;

	@MappingColumn(columnName = "APPOINT_UPDATE_TIME")
	private Date appointUpdateTime;

	@MappingColumn(columnName = "APPOINT_CREATE_TIME")
	private Date appointCreateTime;


	public String getFollowAppointId() {
		return followAppointId;
	}

	public void setFollowAppointId(String followAppointId) {
		this.followAppointId = followAppointId;
	}

	public String getAppointCustomerName() {
		return appointCustomerName;
	}

	public void setAppointCustomerName(String appointCustomerName) {
		this.appointCustomerName = appointCustomerName;
	}

	public String getAppointFollowerId() {
		return appointFollowerId;
	}

	public void setAppointFollowerId(String appointFollowerId) {
		this.appointFollowerId = appointFollowerId;
	}

	public String getAppointFollowerName() {
		return appointFollowerName;
	}

	public void setAppointFollowerName(String appointFollowerName) {
		this.appointFollowerName = appointFollowerName;
	}

	public String getAppointLevelId() {
		return appointLevelId;
	}

	public void setAppointLevelId(String appointLevelId) {
		this.appointLevelId = appointLevelId;
	}

	public String getAppointLevelTxt() {
		return appointLevelTxt;
	}

	public void setAppointLevelTxt(String appointLevelTxt) {
		this.appointLevelTxt = appointLevelTxt;
	}

	public Date getAppointmentTime() {
		return appointmentTime;
	}

	public void setAppointmentTime(Date appointmentTime) {
		this.appointmentTime = appointmentTime;
	}

	public String getAppointReceiverId() {
		return appointReceiverId;
	}

	public void setAppointReceiverId(String appointReceiverId) {
		this.appointReceiverId = appointReceiverId;
	}

	public String getAppointReceiverName() {
		return appointReceiverName;
	}

	public void setAppointReceiverName(String appointReceiverName) {
		this.appointReceiverName = appointReceiverName;
	}

	public String getAppointFollowRemark() {
		return appointFollowRemark;
	}

	public void setAppointFollowRemark(String appointFollowRemark) {
		this.appointFollowRemark = appointFollowRemark;
	}

	public String getIntentionId() {
		return intentionId;
	}

	public void setIntentionId(String intentionId) {
		this.intentionId = intentionId;
	}

	public Date getAppointUpdateTime() {
		return appointUpdateTime;
	}

	public void setAppointUpdateTime(Date appointUpdateTime) {
		this.appointUpdateTime = appointUpdateTime;
	}

	public Date getAppointCreateTime() {
		return appointCreateTime;
	}

	public void setAppointCreateTime(Date appointCreateTime) {
		this.appointCreateTime = appointCreateTime;
	}
}
